/*
* @(#)ListDmsArchiveForm.java
*
* Copyright (c) 2003 DCIVision Ltd
* All rights reserved.
*
* This software is the confidential and proprietary information of DCIVision
* Ltd ("Confidential Information").  You shall not disclose such Confidential
* Information and shall use it only in accordance with the terms of the license
* agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.dms.web;

import com.dcivision.dms.bean.DmsRoot;
import com.dcivision.framework.ApplicationException;
import com.dcivision.framework.bean.AbstractBaseObject;
import com.dcivision.framework.web.AbstractActionForm;

/**
ListDmsArchiveForm.java

The ActionForm for ListDmsArchiveForm

  @author          Anso mo
  @company         DCIVision Limited
  @creation 18     06/06/2005
  @version         $Revision: 1.2 $
  */
public class MaintDmsPublicRootInfoForm extends AbstractActionForm {
  public static final String REVISION = "$Revision: 1.2 $";
	private String rootID = null;    
  private String navMode = null;

/**
 * @return Returns the navMode.
 */
public String getNavMode() {
	return navMode;
}
/**
 * @param navMode The navMode to set.
 */
public void setNavMode(String navMode) {
	this.navMode = navMode;
}
/**
 * @return Returns the dmsRootName.
 */
public String getDmsRootName() {
	return dmsRootName;
}
/**
 * @param dmsRootName The dmsRootName to set.
 */
public void setDmsRootName(String dmsRootName) {
	this.dmsRootName = dmsRootName;
}
	private String activeNoOfFile = null;

	private String inactiveNoOfFile = null;

	private String ActiveFileSize = null;

	private String InactiveFileSize = null;
  
  private String dmsRootName = null;

	/**
	 * @return Returns the activeNoOfFile.
	 */
	public String getActiveNoOfFile() {
		return activeNoOfFile;
	}

	/**
	 * @param activeNoOfFile
	 *            The activeNoOfFile to set.
	 */
	public void setActiveNoOfFile(String activeNoOfFile) {
		this.activeNoOfFile = activeNoOfFile;
	}


	/**
	 * @return Returns the inactiveNoOfFile.
	 */
	public String getInactiveNoOfFile() {
		return inactiveNoOfFile;
	}

	/**
	 * @param inactiveNoOfFile
	 *            The inactiveNoOfFile to set.
	 */
	public void setInactiveNoOfFile(String inactiveNoOfFile) {
		this.inactiveNoOfFile = inactiveNoOfFile;
	}

	/**
	 * @return Returns the rootID.
	 */
	public String getRootID() {
		return rootID;
	}

	/**
	 * @param rootID
	 *            The rootID to set.
	 */
	public void setRootID(String rootID) {
		this.rootID = rootID;
	}

	/**
	 *  
	 */
	public MaintDmsPublicRootInfoForm() {
		super();

	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.dcivision.framework.web.AbstractActionForm#setFormData(com.dcivision.framework.bean.AbstractBaseObject)
	 */
	public void setFormData(AbstractBaseObject baseObj)
			throws ApplicationException {   
        DmsRoot dmsRoot = (DmsRoot)baseObj;
        this.setDmsRootName(dmsRoot.getRootName());
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.dcivision.framework.web.AbstractActionForm#getFormData()
	 */
	public AbstractBaseObject getFormData() throws ApplicationException {
		return null;
	}

	/**
	 * @return Returns the activeFileSize.
	 */
	public String getActiveFileSize() {
		return ActiveFileSize;
	}
	/**
	 * @param activeFileSize The activeFileSize to set.
	 */
	public void setActiveFileSize(String activeFileSize) {
		ActiveFileSize = activeFileSize;
	}
	/**
	 * @return Returns the inactiveFileSize.
	 */
	public String getInactiveFileSize() {
		return InactiveFileSize;
	}
	/**
	 * @param inactiveFileSize The inactiveFileSize to set.
	 */
	public void setInactiveFileSize(String inactiveFileSize) {
		InactiveFileSize = inactiveFileSize;
	}
}